home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
Devpac 2.12 disk 2.adf
/
arp
/
NewPro.arc
/
PreParse
< prev
next >
Wrap
Text File
|
1988-02-22
|
1KB
|
67 lines
PreParse(33.4) ARP Programmers Manual PreParse(33.4)
NAME
PreParse -- Create a tokenized string suitable for
PatternMatch.
SYNOPSIS
IsWild = PreParse("Source", "Dest")
d0 a0 a1
FUNCTION
In order for a string to be submitted directly to pattern
match, the wildcard string must be composed of preparsed
tokens (these are listed in arpbase.[ih]). This function
takes a normal wildcarded source string, and creates the
tokenized output string. This tokenized output string may
then be used as the 'pat' parameter to PatternMatch.
INPUTS
Source - pointer to wildcarded unparsed string.
dest - pointer to buffer to place the parsed string in. The
length of the resulting string will not be larger
than the source string.
RESULT
IsWild - TRUE if any wildcards at all were encountered,
false otherwise.
BUGS
None known
SEE ALSO
PatternMatch(), FindFirst(), FindNext()
AUTHOR
CDH
Page 1 (printed 2/22/88)